package com.gxc.healthfood.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gxc.healthfood.entity.FoodNutrients;

/**
 * 食物营养成分服务接口
 * @author zhouxin
 * @since 2024-05-16
 */
public interface FoodNutrientsService extends IService<FoodNutrients> {
    
    /**
     * 根据食物ID获取营养成分
     * @param foodId 食物ID
     * @return 营养成分实体
     */
    FoodNutrients getByFoodId(Long foodId);
}
